atspiroot: Fix GetState implementation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 10 Oct 2020 01:59:57 +0000 (21:59 -0400)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 12 Oct 2020 15:19:32 +0000 (16:19 +0100)
When the GetState signature says 'au', it actually
means a bitset that is sent as a pair of 32bit integers.

gtk/a11y/gtkatspiroot.c

index 4027f1d9f1e8ac2a0b865544f01a7ddaa8925fe3..2330852a589f73a93d795f4b8d50abcc30e4e5db 100644 (file)
@@ -248,6 +248,7 @@ handle_accessible_method (GDBusConnection       *connection,
 
       g_variant_builder_open (&builder, G_VARIANT_TYPE ("au"));
       g_variant_builder_add (&builder, "u", 0);
+      g_variant_builder_add (&builder, "u", 0);
       g_variant_builder_close (&builder);
 
       g_dbus_method_invocation_return_value (invocation, g_variant_builder_end (&builder));